/*
 *
bar(int)
bar(const char)
foo(int)
hum(int, int)

 *
 */

#include <iostream>
using namespace std;
void bar(int i){
	cout <<"bar(int)" << endl;
}
void bar(const char c){
	cout << "bar(const char)" <<endl;
}
void foo(char c){
	cout << "foo(char)" << endl;
}
void foo(int i){
	cout << "foo(int)" << endl;
}
void hum(int i, ...){
	cout <<"hum(int, ...)" << endl;
}
void hum(int i, int j){
	cout << "hum(int, int)" << endl;
}
int main(){
	int m = 100;
	bar(m);
	
	char c = 'A';
	bar(c); //常量转换  char -----> const char 
	
	short s = 10;
	foo(s); // short ----> int 
	
	hum(10, 1.23);  // double -----> int 降级转换
	return 0;
}
